# $OpenBSD: Makefile.bsd-wrapper,v 1.12 2014/08/13 21:02:16 matthieu Exp $

.include <bsd.xconf.mk>

config.status:
	AUTOMAKE_VERSION="$(AUTOMAKE_VERSION)" \
	AUTOCONF_VERSION="$(AUTOCONF_VERSION)" \
	ACLOCAL="aclocal -I ${X11BASE}/share/aclocal" \
	CFLAGS="${CFLAGS}" \
	PKG_CONFIG_PATH="$(PKG_CONFIG_PATH)" \
	CONFIG_SITE=$(CONFIG_SITE) \
	build_alias=amd64-unknown-openbsd5.8 \
		sh ${.CURDIR}/configure --prefix=${X11BASE} \
		--datarootdir=${X11BASE} \
		--enable-appdefaultdir=${X11BASE}/share/X11/app-defaults \
		--enable-syslog --without-motif --without-ttf \
		--without-gtk2 --without-gtk --without-esound \
		--without-rplay --without-ftgl

.include <bsd.xorg.mk>
